<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/component/pear/css/pear.css"/>
    <style>
        label.required:after { /* 给红色的必填项打红色星号（文字后）如果打前面用before*/
            content: ' *';
            color: red;
        }

        .layui-form-label {
            width: 100px;
            height: 50px;
            line-height: 45px;
            padding: 0px;
        }

        .layui-form .layui-input-inline {
            margin-left: 30px;
            width: 290px;
        }

        .layui-laydate {
            font-size: 16px;
        }

        .layui-laydate-footer span {
            font-size: 15px;
            height: 30px;
            line-height: 30px;
        }

        .laydate-footer-btns {
            position: absolute;
            right: 10px;
            top: 7px;
        }

        .main-container .layui-form-item {
            margin: 15px 0px !important;
        }

        .layui-input {
            height: 50px;
        }

        .submit-btn-container .layui-btn, .pear-btn {
            height: 45px;
            width: 130px;
            font-size: 20px;
        }

        .pear-btn i {
            font-size: 20px;
        }

        .layui-form-select dl, .dtree-select {
            position: absolute;
            left: 0;
            top: 51px;
        }

        .layui-form-selectup dl {
            top: auto;
            bottom: 51px;
        }

        .layui-select-disabled .layui-disabled {
            color: black !important;
        }

        .layui-select-disabled .layui-disabled, .layui-input[disabled], .layui-textarea[disabled] {
            color: rgba(0, 0, 0, .85) !important;
        }

        .layui-input[disabled], .layui-textarea[disabled] {
            background-color: white;
        }

        .layui-radio-disabled>* {
            color: black !important;
        }

    </style>
</head>
<body>
<div class="main-container">
    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12" style="font-size: 16px;">
        <form class="layui-form" action="" onsubmit="return false" style="margin-bottom: 40px;">
            <div class="layui-form-item">
                <label class="layui-form-label">档案id</label>
                <div class="layui-input-block">
                    <input type="text" name="fileId" placeholder="请输入档案id" th:value="${archives.file_id}" disabled
                           autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">档案名</label>
                <div class="layui-input-block">
                    <input type="text" name="fileName" required lay-verify="required" th:value="${archives.file_name}" disabled
                           lay-reqtext="请输入档案名" placeholder="请输入档案名" autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">档案分类</label>
                <div class="layui-input-block">
                    <input type="text" name="fileName" required lay-verify="required" th:value="${archives.type_name}" disabled
                           lay-reqtext="请输入档案名" placeholder="请输入档案名" autocomplete="off" class="layui-input layui-disabled">

                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">年度</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" autocomplete="off" name="year" th:value="${archives.year}" disabled
                           id="ArchiveDate" placeholder="请选择年度">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">责任人</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input layui-disabled" autocomplete="off" name="year" th:value="${archives.user_name}" disabled
                           id="userName" placeholder="请选择年度">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">档案简介</label>
                <div class="layui-input-block">
                    <input type="text" name="profile" th:value="${archives.profile}" disabled
                           autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">档案状态</label>
                <div class="layui-input-block">
                    <input type="radio" name="fileStatus" value="0" title="在库" th:checked="${archives.status eq 0}" disabled>
                    <input type="radio" name="fileStatus" value="1" title="出库" th:checked="${archives.status eq 1}" disabled>
                    <input type="radio" name="fileStatus" value="2" title="出库未取走" th:if="${sysType != '4'}" th:checked="${archives.status eq 2}" disabled>
                    <input type="radio" name="fileStatus" value="3" title="归还未入库" th:if="${sysType != '4'}" th:checked="${archives.status eq 3}" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">区域位置</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${archives.area_name}" disabled autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">载体名称</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${areaCode}" disabled autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">列号</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${archives.column_number}" disabled
                           autocomplete="off" class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">密集架区</label>
                <div class="layui-input-block">
                    <select name="denseRackRegion" disabled>
                        <option value="0" th:selected="${archives.dense_rack_region eq 0}">左区</option>
                        <option value="1" th:selected="${archives.dense_rack_region eq 1}">右区</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">节数</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${archives.joint}" autocomplete="off" disabled class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item" th:if="${sysType != '2'}">
                <label class="layui-form-label required">层数</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${archives.layer_number}" autocomplete="off" disabled class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">位置</label>
                <div class="layui-input-block">
                    <input type="text" th:value="${archives.position}" autocomplete="off" disabled class="layui-input layui-disabled">
                </div>
            </div>
            <div class="layui-form-item">
                <div style="width: 100%;height: 1px;background: #E9E9E9;"></div>
            </div>
        </form>
    </div>
</div>
<script src="/component/layui/layui.js"></script>
<script src="/component/pear/pear.js"></script>
</body>
</html>